package com.smedi.ismedi.inmail.api.dto.request.safetyBoard;

import com.smedi.ismedi.inmail.api.validator.AllowValueEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @auther Cookie
 * @date 2022/8/26
 */
@Data
@ApiModel(value = "安全教育统计(项目)请求")
public class SafetyEducationStatisticsProjectRequest {
    /**
     * 查询时间类型
     */
    @ApiModelProperty(value = "查询时间类型")
    @NotNull
    @AllowValueEnum(strValues = {"WEEK", "MONTH", "QUARTER"}, message = "只能选择特定特定查询时间范围")
    private String timeType;

    /**
     * 时间数量
     */
    @ApiModelProperty(value = "时间数量")
    @NotNull
    private int timeNumber;
}
